package com.jin10.enums;


/**
 * @author Airey
 * @date 2019/11/8 18:01
 * ----------------------------------------------
 * TODO
 * ----------------------------------------------
 */
public enum ResultCodeEnum {


    SUCCESS(200, "访问成功！"),

    DEFAULT_ERROR(500, "访问错误");

    private int status;

    private String message;


    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ResultCodeEnum(int status, String message) {
        this.status = status;
        this.message = message;
    }
}
